#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint flutter_iot_plugin.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
  s.name             = 'flutter_iot_plugin'
  s.version          = '0.0.1'
  s.summary          = 'A new flutter plugin project.'
  s.description      = <<-DESC
A new flutter plugin project.
                       DESC
  s.homepage         = 'http://example.com'
  s.license          = { :file => '../LICENSE' }
  s.author           = { 'Your Company' => 'email@example.com' }
  s.source           = { :path => '.' }
  s.source_files = 'Classes/**/*'
  s.dependency 'Flutter'
  s.dependency 'IMSIotSmart'
  s.dependency 'IMSDeviceCenter'
  s.dependency 'IMSApiClient'
  s.dependency 'IMSAuthentication'
  s.dependency 'AlicloudSecurityGuardSDK'
  s.dependency 'AlicloudSGSecurityBody'
  s.dependency 'AlicloudSGMain'
  s.dependency 'AlicloudALBBOpenAccount'
  s.dependency 'IMSThingCapability'
  s.dependency 'IMSMobileChannel'
  s.dependency 'IMSBoneKit'
  s.dependency 'AKReactNative'
  s.dependency 'MJRefresh'
  s.dependency 'ZipArchive'
  s.dependency 'IMSReactNativeExtension'
  s.dependency 'CocoaAsyncSocket'
  s.dependency 'Reachability'
  s.dependency 'IMSBreezeSDK'
  s.dependency 'IMSOtaBusinessSdk'
  s.dependency 'IMSDeviceGateway'

  s.static_framework = true
  s.platform = :ios, '9.0'

  # Flutter.framework does not contain a i386 slice.
  s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES','EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
    'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
  }
  s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'}
  s.swift_version = '5.0'
end
